<h1>Editing role</h1>

<%= error_messages_for :role %>

<% form_for(@role) do |f| %>
  <p>
    <b>Laiv</b><br />
    <%= f.text_field :laiv_id %>
  </p>

  <p>
    <b>Identifier</b><br />
    <%= f.text_field :identifier %>
  </p>

  <p>
    <b>Gender</b><br />
    <%= f.text_field :gender %>
  </p>

  <p>
    <b>Age</b><br />
    <%= f.text_field :age %>
  </p>

  <p>
    <b>Race</b><br />
    <%= f.text_field :race %>
  </p>

  <p>
    <b>Occupation</b><br />
    <%= f.text_field :occupation %>
  </p>

  <p>
    <b>Casting notes</b><br />
    <%= f.text_field :casting_notes %>
  </p>

  <p>
    <b>Family name</b><br />
    <%= f.text_field :family_name %>
  </p>

  <p>
    <b>First name</b><br />
    <%= f.text_field :first_name %>
  </p>

  <p>
    <b>Laiv user</b><br />
    <%= f.text_field :laiv_user_id %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @role %> |
<%= link_to 'Back', laiv_roles_path(@laiv) %>
